package com.zbf.设计模式1.装饰模式;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/23  10:30
 * 描述:
 */
public class SQiang1 implements Qiang1{

    private Qiang1 qiang1;

    public SQiang1(Qiang1 qiang1) {
        this.qiang1 = qiang1;
    }

    public Qiang1 getQiang1() {
        return qiang1;
    }

    @Override
    public void shout() {
        qiang1.shout();
        System.out.println("=====嗖嗖嗖=======");
    }


}
